import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

export const getBasicBusinessOne = (params) => {
    return getRequest('/basicBusiness/getOne', params)
}
export const getBasicBusinessList = (params) => {
    return getRequest('/basicBusiness/getByPage', params)
}
export const getBasicBusinessCount = (params) => {
    return getRequest('/basicBusiness/count', params)
}
export const addBasicBusiness = (params) => {
    return postRequest('/basicBusiness/insert', params)
}
export const editBasicBusiness = (params) => {
    return postRequest('/basicBusiness/update', params)
}
export const addOrEditBasicBusiness = (params) => {
    return postRequest('/basicBusiness/insertOrUpdate', params)
}
export const deleteBasicBusiness = (params) => {
    return postRequest('/basicBusiness/delByIds', params)
}
export const getBusinessTypeList = (params) => {
    return getRequest('/businessType/getAll', params)
}